export type RoleListType = {
    createBy: string
    createTime: string
    description: string
    id: string
    roleCode: string
    roleName: string
    updateBy: string
    updateTime: string
    defaultHome: string
}

export type RoleAddType = {
    roleCode: string
    roleName: string
    description: string
}

export type RoleUpdateType = {
    id: string
} & RoleAddType

export type RoleAssingType = {
    roleId: string
    userIds: string[]
}

export type RolePermissionType = {
    roleId: string
    permissionIds: string[]
}

export type RoleHomePageType = {
    roleId: string
    defaultHomePage: string
}